package com.four.reptile.service.impl;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;
import com.four.reptile.dao.ReptileMapper;
import com.four.reptile.entity.Reptile;
import com.four.reptile.service.ReptileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class ReptileServiceImpl implements ReptileService {

    private ReptileMapper reptileMapper;
    @Override
    public void add(Reptile reptile) {

        System.out.println(reptile);

        reptileMapper.addReptile(reptile);
    }
}
